'''
Created on 21.12.2012

@author: felix
'''
import time
for x in range(1, 10):

    t = time.time()
    [x*y for x in range(100) for y in range(100)]
    print "range:  %.4f" % ((time.time()-t)*100)

    t = time.time()
    print [x*y for x in xrange(100) for y in xrange(100)]
    print "xrange: %.4f" % ((time.time()-t)*100)

for y in xrange(10):
    for x in xrange(10):
        print x,y